package com.iogogogo.activity.enums;

import com.iogogogo.activity.base.Enumerator;

/**
 * Created by tao.zeng on 2022/6/15.
 */
public enum ActivityEventEnum implements Enumerator {

    EVENT_NONE(0, "无操作"),
    EVENT_INSERT(1, "新增"),
    EVENT_DELETE(2, "删除"),
    EVENT_UPDATE(3, "修改"),
    EVENT_QUERY(4, "查询"),
    ;


    private final int value;
    private final String description;

    ActivityEventEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public int value() {
        return this.value;
    }

    @Override
    public String description() {
        return this.description;
    }
}
